<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>分类编辑</title>
</head>
<body>
<?php require("adminnav.php"); ?>
<form id="edit" name="edit" method="post" action="editsaveclass.php">
<div align="center">分类编辑
<?php
//编辑分类
require_once("conn.php");
$sql="select * from artclass where cs_id=".$_GET['cs_id'];
$result=mysql_query($sql);
$row=mysql_fetch_array($result);
?>
<input type="text" name="cs_name" id="cs_name" value="<?php echo $row['cs_name']; ?>">
<input type="hidden" name="cs_id" id="cs_id" value="<?php echo $row['cs_id']; ?>">
<input type="submit" name="button" id="button" value="提交">
</div>
</form>
</body>
</html>